package com.ht.pms.core.service;

import java.util.List;

import org.apache.poi.xssf.streaming.SXSSFWorkbook;

import com.ht.pms.core.dto.Result;
import com.ht.pms.core.dto.SalarySheetQueryReq;
import com.ht.pms.core.dto.dict.DictParamsDto;
import com.ht.pms.core.dto.poi.ExcelExportQuerySqlReq;
import com.ht.pms.core.dto.poi.SalaryUploadParam;
import com.ht.pms.core.dto.tempalte.Template;
import com.ht.pms.core.dto.upload.UpLoadTemp;
import com.ht.pms.core.dto.upload.UploadFile;
import com.ht.pms.core.dto.upload.UploadFileLog;

public interface SalaryExcelDataService {
	Result uploadSalaryFile(SalaryUploadParam req) throws Exception;

	List<UploadFileLog> getSalaryFileLog(Integer index, Integer fileId);

	List<DictParamsDto> getDictParamsByTemplateCode(String templateCode);

	SXSSFWorkbook downloadSalaryFile(ExcelExportQuerySqlReq reqParam, Template template) throws Exception;

	Result validateUpload(SalaryUploadParam req);

	SXSSFWorkbook exportErrorData(UploadFile file) throws Exception;
}
